// 单位
const {DataTypes, db } = require("../db");
db.define('unit', {
id: {type: DataTypes.INTEGER, primaryKey: true, autoIncrement: true,comment:'表自增ID'},
name:{type: DataTypes.STRING(50),defaultValue:(''),comment:'客户名称'}, 
sort:{type: DataTypes.INTEGER,defaultValue:0,comment:'排序'}, 
disabled:{type: DataTypes.TINYINT,defaultValue:0,comment:'停用'}, 
isDel:{type: DataTypes.INTEGER,defaultValue:0,comment:''}, 
pinYin:{type: DataTypes.STRING(10),comment:''}, 

}, {
    tableName: 'unit',
    timestamps: false,
    comment: '单位',
    
});